/*
 * @description: 描述内容
 */
/*
 * @description: 描述内容
 */

import Calendar from './Calendar';
import dayjs, { Dayjs } from 'dayjs';
function App() {
   
  const dateRender=(value:Dayjs) => {
    return <div>
        <p style={{background: 'yellowgreen', height: '30px'}}>{value.format('YYYY/MM/DD')}</p>
    </div>
  }

  return (
    <div className="App">
      <Calendar  locale='en-US'  value={dayjs('2023-3-9')}  onChange={(date)=>{console.log(date.format('YYYY-MM-DD'));}} ></Calendar>
    </div>
  );

}

export default App;